all: scanner

clean:
	$(RM) -rf tokens.cpp scanner
	
tokens.cpp: tokens.l
	flex -o $@ $^

scanner: tokens.cpp main.cpp
	gcc -o $@ $^
